package com.c2rusthub.service.model;

import java.util.Date;

public class Task {

    private Integer id; // 任务ID
    private Integer userId; // 用户ID

    private String userName;        // 用户名称
    private String phone;        // 手机号
    private String email;        // 邮箱
    private String cUrl; // 任务URL
    private String rewardAmount; // 奖励金额
    private Integer heat = 0; // 热度，默认值为 0
    private Short claimStatus = 2; // 认领状态，默认 2（未被认领）
    private Date updatedTime; // 最后更新时间
    private Date createdTime; // 创建时间

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    // Getters 和 Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getcUrl() {
        return cUrl;
    }

    public void setcUrl(String cUrl) {
        this.cUrl = cUrl;
    }

    public String getRewardAmount() {
        return rewardAmount;
    }

    public void setRewardAmount(String rewardAmount) {
        this.rewardAmount = rewardAmount;
    }

    public Integer getHeat() {
        return heat;
    }

    public void setHeat(Integer heat) {
        this.heat = heat;
    }

    public Short getClaimStatus() {
        return claimStatus;
    }

    public void setClaimStatus(Short claimStatus) {
        this.claimStatus = claimStatus;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}
